import { Component, OnInit } from '@angular/core';
import {Resume} from '../../../entity/resume';
import {TalentService} from '../../../service/talent.service';

@Component({
  selector: 'app-add-resume',
  templateUrl: './add-resume.component.html',
  styleUrls: ['./add-resume.component.css', '../edit-info/edit-info.component.css']
})
export class AddResumeComponent implements OnInit {
  isEdit = false;
  resume: Resume = new Resume();
  nfig = {
    filebrowserBrowseUrl: '&&&&&',
    filebrowserUploadUrl: '&&&'
  };
  constructor(
    public talentService: TalentService
  ) { }

  addResume() {
    this.talentService.addResume(this.resume);
  }

  ngOnInit() {
  }
}
